var express = require("express");
var router = express.Router();

const bannner_list = [
	{ cover_image_cn: "/0ad222a2088f95f986aef6a857a05c48.png", id: 138 },
	{ cover_image_cn: "/1c25962bb4daa40ee8bb80c63f8c20cd.png", id: 139 },
	{ cover_image_cn: "/286b8bcc537dd72d2310741081d12271.png", id: 135 },
	{ cover_image_cn: "/cfd50319d0155a24d98ad067081353aa.png", id: 134 },
	{ cover_image_cn: "/cfd50319d0155a24d98ad067081353aa.png", id: -1 },
];

const list = [
    {
        id:134,
        json_content:{
            icon_cn:'/1ebf2af17399dcbd8d3675ce14e2daa0.png',
            title_cn:"精选"
        }
    },
    {
        id:135,
        json_content:{
            icon_cn:'/711b35a54fb733d9d73e54405fcd67a7.png',
            title_cn:"贴纸"
        }
    },
    {
        id:139,
        json_content:{
            icon_cn:'/d4436f2e84b2b59c24ffb87762702161.png',
            title_cn:"游戏与动漫"
        }
    },
    {
        id:138,
        json_content:{
            icon_cn:'/76a101e772e29b6afd3850a43da420cc.png',
            title_cn:"写真"
        }
    },
];

router.get("/", (req, res) => {
	res.send({
		code: 0,
		message: "success",
		data: {
			bannner_list,
			list,
		},
	});
});

module.exports = router;